↳ Prolog
↳ PrologToPiTRSProof
p_in_g(cons(X, nil)) → p_out_g(cons(X, nil))
p_in_g(cons(s(s(X)), cons(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(cons(X, cons(Y, Xs))))
p_in_g(cons(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(cons(0, Xs))
U1_g(X, Y, Xs, p_out_g(cons(X, cons(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(cons(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(cons(s(s(s(s(Y)))), Xs))) → p_out_g(cons(s(s(X)), cons(Y, Xs)))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
p_in_g(cons(X, nil)) → p_out_g(cons(X, nil))
p_in_g(cons(s(s(X)), cons(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(cons(X, cons(Y, Xs))))
p_in_g(cons(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(cons(0, Xs))
U1_g(X, Y, Xs, p_out_g(cons(X, cons(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(cons(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(cons(s(s(s(s(Y)))), Xs))) → p_out_g(cons(s(s(X)), cons(Y, Xs)))
P_IN_G(cons(s(s(X)), cons(Y, Xs))) → U1_G(X, Y, Xs, p_in_g(cons(X, cons(Y, Xs))))
P_IN_G(cons(s(s(X)), cons(Y, Xs))) → P_IN_G(cons(X, cons(Y, Xs)))
P_IN_G(cons(0, Xs)) → U3_G(Xs, p_in_g(Xs))
P_IN_G(cons(0, Xs)) → P_IN_G(Xs)
U1_G(X, Y, Xs, p_out_g(cons(X, cons(Y, Xs)))) → U2_G(X, Y, Xs, p_in_g(cons(s(s(s(s(Y)))), Xs)))
U1_G(X, Y, Xs, p_out_g(cons(X, cons(Y, Xs)))) → P_IN_G(cons(s(s(s(s(Y)))), Xs))
p_in_g(cons(X, nil)) → p_out_g(cons(X, nil))
p_in_g(cons(s(s(X)), cons(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(cons(X, cons(Y, Xs))))
p_in_g(cons(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(cons(0, Xs))
U1_g(X, Y, Xs, p_out_g(cons(X, cons(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(cons(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(cons(s(s(s(s(Y)))), Xs))) → p_out_g(cons(s(s(X)), cons(Y, Xs)))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
P_IN_G(cons(s(s(X)), cons(Y, Xs))) → U1_G(X, Y, Xs, p_in_g(cons(X, cons(Y, Xs))))
P_IN_G(cons(s(s(X)), cons(Y, Xs))) → P_IN_G(cons(X, cons(Y, Xs)))
P_IN_G(cons(0, Xs)) → U3_G(Xs, p_in_g(Xs))
P_IN_G(cons(0, Xs)) → P_IN_G(Xs)
U1_G(X, Y, Xs, p_out_g(cons(X, cons(Y, Xs)))) → U2_G(X, Y, Xs, p_in_g(cons(s(s(s(s(Y)))), Xs)))
U1_G(X, Y, Xs, p_out_g(cons(X, cons(Y, Xs)))) → P_IN_G(cons(s(s(s(s(Y)))), Xs))
p_in_g(cons(X, nil)) → p_out_g(cons(X, nil))
p_in_g(cons(s(s(X)), cons(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(cons(X, cons(Y, Xs))))
p_in_g(cons(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(cons(0, Xs))
U1_g(X, Y, Xs, p_out_g(cons(X, cons(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(cons(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(cons(s(s(s(s(Y)))), Xs))) → p_out_g(cons(s(s(X)), cons(Y, Xs)))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDPToQDPProof
P_IN_G(cons(0, Xs)) → P_IN_G(Xs)
P_IN_G(cons(s(s(X)), cons(Y, Xs))) → P_IN_G(cons(X, cons(Y, Xs)))
P_IN_G(cons(s(s(X)), cons(Y, Xs))) → U1_G(X, Y, Xs, p_in_g(cons(X, cons(Y, Xs))))
U1_G(X, Y, Xs, p_out_g(cons(X, cons(Y, Xs)))) → P_IN_G(cons(s(s(s(s(Y)))), Xs))
p_in_g(cons(X, nil)) → p_out_g(cons(X, nil))
p_in_g(cons(s(s(X)), cons(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(cons(X, cons(Y, Xs))))
p_in_g(cons(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(cons(0, Xs))
U1_g(X, Y, Xs, p_out_g(cons(X, cons(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(cons(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(cons(s(s(s(s(Y)))), Xs))) → p_out_g(cons(s(s(X)), cons(Y, Xs)))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
P_IN_G(cons(0, Xs)) → P_IN_G(Xs)
P_IN_G(cons(s(s(X)), cons(Y, Xs))) → U1_G(Y, Xs, p_in_g(cons(X, cons(Y, Xs))))
P_IN_G(cons(s(s(X)), cons(Y, Xs))) → P_IN_G(cons(X, cons(Y, Xs)))
U1_G(Y, Xs, p_out_g) → P_IN_G(cons(s(s(s(s(Y)))), Xs))
p_in_g(cons(X, nil)) → p_out_g
p_in_g(cons(s(s(X)), cons(Y, Xs))) → U1_g(Y, Xs, p_in_g(cons(X, cons(Y, Xs))))
p_in_g(cons(0, Xs)) → U3_g(p_in_g(Xs))
U3_g(p_out_g) → p_out_g
U1_g(Y, Xs, p_out_g) → U2_g(p_in_g(cons(s(s(s(s(Y)))), Xs)))
U2_g(p_out_g) → p_out_g
p_in_g(x0)
U3_g(x0)
U1_g(x0, x1, x2)
U2_g(x0)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
P_IN_G(cons(0, Xs)) → P_IN_G(Xs)
Used ordering: Polynomial interpretation [25]:
P_IN_G(cons(s(s(X)), cons(Y, Xs))) → U1_G(Y, Xs, p_in_g(cons(X, cons(Y, Xs))))
P_IN_G(cons(s(s(X)), cons(Y, Xs))) → P_IN_G(cons(X, cons(Y, Xs)))
U1_G(Y, Xs, p_out_g) → P_IN_G(cons(s(s(s(s(Y)))), Xs))
POL(0) = 1
POL(P_IN_G(x1)) = x1
POL(U1_G(x1, x2, x3)) = x1 + x2
POL(U1_g(x1, x2, x3)) = 0
POL(U2_g(x1)) = 0
POL(U3_g(x1)) = 0
POL(cons(x1, x2)) = x1 + x2
POL(nil) = 0
POL(p_in_g(x1)) = 0
POL(p_out_g) = 0
POL(s(x1)) = x1
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
P_IN_G(cons(s(s(X)), cons(Y, Xs))) → U1_G(Y, Xs, p_in_g(cons(X, cons(Y, Xs))))
P_IN_G(cons(s(s(X)), cons(Y, Xs))) → P_IN_G(cons(X, cons(Y, Xs)))
U1_G(Y, Xs, p_out_g) → P_IN_G(cons(s(s(s(s(Y)))), Xs))
p_in_g(cons(X, nil)) → p_out_g
p_in_g(cons(s(s(X)), cons(Y, Xs))) → U1_g(Y, Xs, p_in_g(cons(X, cons(Y, Xs))))
p_in_g(cons(0, Xs)) → U3_g(p_in_g(Xs))
U3_g(p_out_g) → p_out_g
U1_g(Y, Xs, p_out_g) → U2_g(p_in_g(cons(s(s(s(s(Y)))), Xs)))
U2_g(p_out_g) → p_out_g
p_in_g(x0)
U3_g(x0)
U1_g(x0, x1, x2)
U2_g(x0)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
P_IN_G(cons(s(s(X)), cons(Y, Xs))) → U1_G(Y, Xs, p_in_g(cons(X, cons(Y, Xs))))
Used ordering: Polynomial interpretation [25]:
P_IN_G(cons(s(s(X)), cons(Y, Xs))) → P_IN_G(cons(X, cons(Y, Xs)))
U1_G(Y, Xs, p_out_g) → P_IN_G(cons(s(s(s(s(Y)))), Xs))
POL(0) = 0
POL(P_IN_G(x1)) = x1
POL(U1_G(x1, x2, x3)) = 1 + x2
POL(U1_g(x1, x2, x3)) = 0
POL(U2_g(x1)) = 0
POL(U3_g(x1)) = 0
POL(cons(x1, x2)) = 1 + x2
POL(nil) = 0
POL(p_in_g(x1)) = x1
POL(p_out_g) = 0
POL(s(x1)) = 0
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
P_IN_G(cons(s(s(X)), cons(Y, Xs))) → P_IN_G(cons(X, cons(Y, Xs)))
U1_G(Y, Xs, p_out_g) → P_IN_G(cons(s(s(s(s(Y)))), Xs))
p_in_g(cons(X, nil)) → p_out_g
p_in_g(cons(s(s(X)), cons(Y, Xs))) → U1_g(Y, Xs, p_in_g(cons(X, cons(Y, Xs))))
p_in_g(cons(0, Xs)) → U3_g(p_in_g(Xs))
U3_g(p_out_g) → p_out_g
U1_g(Y, Xs, p_out_g) → U2_g(p_in_g(cons(s(s(s(s(Y)))), Xs)))
U2_g(p_out_g) → p_out_g
p_in_g(x0)
U3_g(x0)
U1_g(x0, x1, x2)
U2_g(x0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
P_IN_G(cons(s(s(X)), cons(Y, Xs))) → P_IN_G(cons(X, cons(Y, Xs)))
p_in_g(cons(X, nil)) → p_out_g
p_in_g(cons(s(s(X)), cons(Y, Xs))) → U1_g(Y, Xs, p_in_g(cons(X, cons(Y, Xs))))
p_in_g(cons(0, Xs)) → U3_g(p_in_g(Xs))
U3_g(p_out_g) → p_out_g
U1_g(Y, Xs, p_out_g) → U2_g(p_in_g(cons(s(s(s(s(Y)))), Xs)))
U2_g(p_out_g) → p_out_g
p_in_g(x0)
U3_g(x0)
U1_g(x0, x1, x2)
U2_g(x0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
P_IN_G(cons(s(s(X)), cons(Y, Xs))) → P_IN_G(cons(X, cons(Y, Xs)))
p_in_g(x0)
U3_g(x0)
U1_g(x0, x1, x2)
U2_g(x0)
p_in_g(x0)
U3_g(x0)
U1_g(x0, x1, x2)
U2_g(x0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ UsableRulesReductionPairsProof
P_IN_G(cons(s(s(X)), cons(Y, Xs))) → P_IN_G(cons(X, cons(Y, Xs)))
No rules are removed from R.
P_IN_G(cons(s(s(X)), cons(Y, Xs))) → P_IN_G(cons(X, cons(Y, Xs)))
POL(P_IN_G(x1)) = 2·x1
POL(cons(x1, x2)) = 2·x1 + x2
POL(s(x1)) = 2·x1
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ UsableRulesReductionPairsProof
↳ QDP
↳ PisEmptyProof